﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Vega.USiteBuilder;

namespace SPCFMedicineInformer.DocumentTypes
{
    [DocumentType(Name="Condition",
            IconUrl = "settingsScript.gif"    
        )]
    public class Condition : SPCFMedicineInformer.DocumentTypes.ConditionFolder
    {
        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "ConditionName", Description = "",
           Tab = Constants.Tabs.Content)]
        public string ConditionName { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Medicine Tag", Description = "delimited by comma",
           Tab = Constants.Tabs.Content)]
        public string MedicineTag { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Symptom Tag", Description = "delimited by comma",
           Tab = Constants.Tabs.Content)]
        public string SymptomTag { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.RichtextEditor, Name = "Description", Description = "",
           Tab = Constants.Tabs.Content)]
        public string Description { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.TrueFalse, Name = "Is Common Condition", Description = "",
           Tab = Constants.Tabs.Content)]
        public bool IsCommonCondition { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "ImageUrl", Description = "",
            Tab = Constants.Tabs.Content)]
        public string ImageUrl { get; set; }
    }
}
